package dubbo.server1.impl.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import dubbo.server1.api.entity.User;

public interface UserDao extends CrudRepository<User, Integer>{

	@Query("select u from User u")
	public List<User> getAll();
}
